Version

IsHighContrastSupported Property

Determines whether controls will be rendered in high contrast based on the current system settings (read-only).
Syntax
'Declaration
 
Public Property IsHighContrastSupported As Boolean
public bool IsHighContrastSupported {get; set;}
Remarks

If the system theme is a high contrast theme and this property is left to its default valu of true then high contrast resources will be returned by the indexers.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also